package com.acme.team03.db;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.SQLException;

public class DatabaseUtils {
	public static Connection getConnection(String host, int port) throws SQLException {
		Connection connection = DriverManager.getConnection("jdbc:derby://" + host + ":" + port + "/chatdb;create=true");
		return connection;
	}
}
